<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
   <head>
       <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
       <title>BFP Sucat Permit System</title>
       <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
       <link type="text/css" rel="stylesheet" media="all" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/style.css" />
        <link type="text/css" rel="stylesheet" media="all" href="<?php echo Yii::app()->theme->baseUrl; ?>/css/form.css" />
   </head>
<body>
<div id="container">


<div id="page">
       <div id="header">
               <div class="site_title">


                 
               </div> <!-- end site_title -->

               <div class="topmenu" id="menu-top">
                    <?php $this->widget('zii.widgets.CMenu',array(
                        'id' => 'menu',
                        'items'=>array(
                            array('label'=>'Home', 'url'=>array('/site/index'), 'linkOptions' => array( 'class' => 'menulink' ) ),
							array('label'=>'Forms', 'url'=>array('/site/index'), 'visible'=>!Yii::app()->user->isGuest, 'linkOptions' => array( 'class' => 'menulink' ) ,
								  'items'=>array(
								  array('label'=>'Establishment', 'url'=>array('/Establishment/index'), 'linkOptions' => array( 'class' => 'menulink' ) ),
								   array('label'=>'Inspection', 'url'=>array('/Inspection/index'), 'linkOptions' => array( 'class' => 'menulink' ) ),
								    array('label'=>'Client Contact Person', 'url'=>array('/ClientContactPerson/index'), 'linkOptions' => array( 'class' => 'menulink' ) ),
									    array('label'=>'Client Background', 'url'=>array('/ClientBackground/index'), 'linkOptions' => array( 'class' => 'menulink' ) ),
								 array('label'=>'Alarm System', 'url'=>array('/AlarmSystem/index'), 'linkOptions' => array( 'class' => 'menulink' ) ),
								   array('label'=>'Automatic Fire Suppression System', 'url'=>array('/AutomaticFireSuppressionSystem/index'), 'linkOptions' => array( 'class' => 'menulink' ) ),
   array('label'=>'Building Construction', 'url'=>array('/BuildingConstruction/index'), 'linkOptions' => array( 'class' => 'menulink' ) ),
    array('label'=>'Building Service Equipment', 'url'=>array('/BuildingServiceEquipment/index'), 'linkOptions' => array( 'class' => 'menulink' ) ),
	
 array('label'=>'Classification', 'url'=>array('/Classification/index'), 'linkOptions' => array( 'class' => 'menulink' ) ),
  array('label'=>'Storage Tank Or Container', 'url'=>array('/StorageTankOrContainer/index'), 'linkOptions' => array( 'class' => 'menulink' )), 

 array('label'=>'EmergencyLight', 'url'=>array('/EmergencyLight/index'), 'linkOptions' => array( 'class' => 'menulink' ) ),
 
 
 array('label'=>'ExitDetail', 'url'=>array('/ExitDetail/index'), 'linkOptions' => array( 'class' => 'menulink' ) ),
 array('label'=>'Area Of Safe Refuge', 'url'=>array('/AreaOfSafeRefuge/index'), 'linkOptions' => array( 'class' => 'menulink' ) ),
	 array('label'=>'Horizontal Exit', 'url'=>array('/HorizontalExit/index'), 'linkOptions' => array( 'class' => 'menulink' ) ),
   array('label'=>'Main Stairway', 'url'=>array('/MainStairway/index'), 'linkOptions' => array( 'class' => 'menulink' ) ),
 array('label'=>'Mean Of Egress', 'url'=>array('/MeanOfEgress/index'), 'linkOptions' => array( 'class' => 'menulink' ) ),
  array('label'=>'Ramp', 'url'=>array('/Ramp/index'), 'linkOptions' => array( 'class' => 'menulink' ) ),
 array('label'=>'Secondary Stair Or Fire Escape', 'url'=>array('/SecondaryStairOrFireEscape/index'), 'linkOptions' => array( 'class' => 'menulink' ) ),
 
 
 array('label'=>'ExitSign', 'url'=>array('/ExitSign/index'), 'linkOptions' => array( 'class' => 'menulink' ) ),
 array('label'=>'FireWall', 'url'=>array('/FireWall/index'), 'linkOptions' => array( 'class' => 'menulink' ) ),
 array('label'=>'First Aid Fire Protection Equipment', 'url'=>array('/FirstAidFireProtectionEquipment/index'), 'linkOptions' => array( 'class' => 'menulink' ) ),
 array('label'=>'General Information', 'url'=>array('/GeneralInformation/index'), 'linkOptions' => array( 'class' => 'menulink' ) ),
 array('label'=>'Hazardous Area', 'url'=>array('/HazardousArea/index'), 'linkOptions' => array( 'class' => 'menulink' ) ),
   array('label'=>'Hazardous Material', 'url'=>array('/HazardousMaterial/index'), 'linkOptions' => array( 'class' => 'menulink' ) ),
 array('label'=>'Inspector', 'url'=>array('/Inspector/index'), 'linkOptions' => array( 'class' => 'menulink' ) ),
 array('label'=>'Operating Feature', 'url'=>array('/OperatingFeature/index'), 'linkOptions' => array( 'class' => 'menulink' ) ),
 array('label'=>'Other Safety Feature', 'url'=>array('/OtherSafetyFeature/index'), 'linkOptions' => array( 'class' => 'menulink' ) ),
 array('label'=>'Protection Of VerticalOpening', 'url'=>array('/ProtectionOfVerticalOpening/index'), 'linkOptions' => array( 'class' => 'menulink' ) ),
 array('label'=>'Pump', 'url'=>array('/Pump/index'), 'linkOptions' => array( 'class' => 'menulink' ) ),
 array('label'=>'Sectional Occupancy', 'url'=>array('/SectionalOccupancy/index'), 'linkOptions' => array( 'class' => 'menulink' ) ),
 array('label'=>'Stand pipe System', 'url'=>array('/StandpipeSystem/index'), 'linkOptions' => array( 'class' => 'menulink' ) ),
  array('label'=>'Under Ground Tank', 'url'=>array('/UndergroundTank/index'), 'linkOptions' => array( 'class' => 'menulink' ) ),

  array('label'=>'Vent Pipe', 'url'=>array('/VentPipe/index'), 'linkOptions' => array( 'class' => 'menulink' ) ), 
  array('label'=>'Warning or Safety Sign', 'url'=>array('/WarningOrSafetySign/index'), 'linkOptions' => array( 'class' => 'menulink' ) 





),
								  ),
							),
                            array('label'=>'About', 'url'=>array('/site/page', 'view'=>'about'), 'linkOptions' => array( 'class' => 'menulink' ) ),
                            array('label'=>'Contact', 'url'=>array('/site/contact'), 'linkOptions' => array( 'class' => 'menulink' ) ),
                            array('label'=>'Login', 'url'=>array('/site/login'), 'visible'=>Yii::app()->user->isGuest, 'linkOptions' => array( 'class' => 'menulink' ) ),
                            array('label'=>'Logout ('.Yii::app()->user->name.')', 'url'=>array('/site/logout'), 'visible'=>!Yii::app()->user->isGuest, 'linkOptions' => array( 'class' => 'menulink' ) ),
                        ),
                    )); ?>                   
               </div> <!-- end topmenu -->
       </div> <!-- end header -->


        <div class="mainwrap">
            <div class="content">
                
                <?php echo $content; ?>
            </div>

       </div><!-- end columns_wrapper -->


       <div id="footer">

               <div class="footer-left">
                    <p>
                      
                    </p>
               </div>

               <div class="footer-right">
                  

               </div>

       </div> <!-- end footer -->


</div> <!-- end page -->

</div>

</body>
</html>
